package org.example.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName(value = "users")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId
    private String id;
    @TableField(value = "username")
    private String userName;
    @TableField
    private String password;
    @TableField
    private String phone;
    @TableField
    private String email;
    @TableField
    private String createdAt;

}
